﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;

namespace 立库托盘入库.bean
{
    class panItemBean
    {
        String _position_buffer;
        String _pallet_num;
        String _pcycle_id;
        String _weiwangong;
        String _yiwangong;
        String _zupan_time;
        String _onum;
        String _buffer_finish_statu;
        String _buffer_shelf_status;
        String _color;
        Visibility _isquxiao;

        public Visibility Isquxiao
        {
            get { return _isquxiao; }
            set { _isquxiao = value; }
        }

        public string PositionBuffer
        {
            get { return _position_buffer; }
            set { _position_buffer = value; }
        }
        public string PalletNum
        {
            get { return _pallet_num; }
            set { _pallet_num = value; }
        }
        public string PcycleId
        {
            get { return _pcycle_id; }
            set { _pcycle_id = value; }
        }
        public string WeiWanGong
        {
            get { return _weiwangong; }
            set { _weiwangong = value; }
        }
        public string YiWanGong
        {
            get { return _yiwangong; }
            set { _yiwangong = value; }
        }
        public string ZupanTime
        {
            get { return _zupan_time; }
            set { _zupan_time = value; }
        }
        public string Onum
        {
            get { return _onum; }
            set { _onum = value; }
        }
        public string BufferFinishStatu
        {
            get {
                if (_buffer_finish_statu == "0")
                {
                    return "";
                }
                else
                {
                    return "是";
                }
            }
            set { _buffer_finish_statu = value; }
        }
        public string BufferShelfStatus
        {
            get {
                if (_buffer_shelf_status == "0")
                {
                    return "";
                }
                else
                {
                    return "是";
                }
            }
            set { _buffer_shelf_status = value; }
        }
        public string Color
        {
            get { return _color; }
            set { _color = value; }
        }
    }
}
